package cn.yiyuan.auth.service.Impl;

import cn.yiyuan.auth.entity.DepEntity;
import cn.yiyuan.auth.mapper.DepMapper;
import cn.yiyuan.auth.service.DepService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @user m
 * @project Car_mall_system
 * @date 2023-12-26
 * @package cn.yiyuan.auth.service.Impl
 */
@Service
public class DepServiceImpl implements DepService {

    @Autowired
    private DepMapper depMapper;


    @Override
    public List<DepEntity> getAll() {
        return depMapper.getAll();
    }
}
